package com.sihan.framework.etm.entity.business;

import java.io.Serializable;
import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.framework.model.BaseModel;
import com.framework.mybatis.annotation.AutoGenerator;
import com.framework.mybatis.enums.IdType;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Table(name="jdx_etm_purchase_plan_detail")
public class PurchasePlanDetail extends BaseModel implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@Id
    @Column(name = "ID")
    @GeneratedValue(strategy = GenerationType.AUTO)
	@AutoGenerator(idType = IdType.UUID32)
	private String id;
	//计划单id
	private String planId;
	//工器具型号
	private String toolModelId;
	//采购数量
	private BigDecimal purchaseQuantity;
	//是否删除
	private Integer isDelete;
	
	private String blgSgsid;// varchar(50) DEFAULT NULL COMMENT '市id',
	private String blgSgs;// varchar(255) DEFAULT NULL COMMENT '市名称',
	private String blgXgsid;// varchar(50) DEFAULT NULL COMMENT '县id',
	private String blgXgs;// varchar(255) DEFAULT NULL COMMENT '县名称',
	private String blgGqid;// varchar(50) DEFAULT NULL COMMENT '部门id',
	private String blgGq;// varchar(255) DEFAULT NULL COMMENT '部门名称',
	private String useBsid;// varchar(50) DEFAULT NULL COMMENT '工区id',
	private String useBsname;// varchar(255) DEFAULT NULL COMMENT '工区名称',
	private String useBzid;// varchar(50) DEFAULT NULL COMMENT '班组id',
	private String useBzname;// varchar(255) DEFAULT NULL COMMENT '班组名称',
	private String classid;// varchar(50) DEFAULT NULL COMMENT '工器具分类编码',
	private String className;// varchar(255) DEFAULT NULL COMMENT '工器具分类名称',
	private String classifyid;// varchar(50) DEFAULT NULL COMMENT '工器具编码',
	private String classifyName;// varchar(255) DEFAULT NULL COMMENT '工器具名称',
	private String standardId;// varchar(50) DEFAULT NULL COMMENT '规格型号编码',
	private String standardName;// varchar(255) DEFAULT NULL COMMENT '规格型号名称',

}
